class NodeAddress < ActiveRecord::Migration
  def self.up
    add_column :nodes, :address, :string, :limit => 100, :default => "", :null => true
    add_column :nodes, :lat, :string, :limit => 100, :default => "", :null => true
    add_column :nodes, :long, :string, :limit => 100, :default => "", :null => true
  end

  def self.down
    remove_column :nodes, :address
    remove_column :nodes, :lat
    remove_column :nodes, :long
  end
end
